package com.zjht.gmcc.bean.model;

/**
 * 机型参数对象ProductPara
 * @author dyh
 */
public class ProductPara implements java.io.Serializable {
	private static final long serialVersionUID = 2958158838657051800L;
	private int paraid;
	private String paraname;
	private String paratype;
	private boolean attachflag;
	private boolean mustfillflag;

	public ProductPara() {
	}

	public ProductPara(int paraid, String paraname, String paratype, String attachflag,String mustfillflag) {
		setParaid(paraid);
		setParaname(paraname);
		setParatype(paratype);
		setAttachflag(attachflag);
		setMustfillflag(mustfillflag);
	}

	public int getParaid() {
		return paraid;
	}

	public void setParaid(int paraid) {
		this.paraid = paraid;
	}

	public String getParaname() {
		return paraname;
	}

	public void setParaname(String paraname) {
		this.paraname = (paraname==null?"":paraname);
	}

	public String getParatype() {
		return paratype;
	}

	public void setParatype(String paratype) {
		this.paratype = paratype;
	}

	public boolean getAttachflag() {
		return attachflag;
	}

	public void setAttachflag(String attachflag) {
		this.attachflag = "1".equals(attachflag);
	}

	
	public boolean isMustfillflag() {
		return mustfillflag;
	}

	public void setMustfillflag(String mustfillflag) {
		this.mustfillflag = "1".equals(mustfillflag);
	}

}